using System;
using System.Collections.Generic;
using System.Text;

using Geekees.App.HRAssistant.DataInterface.Common;
using NHibernate.Criterion;

namespace Geekees.App.HRAssistant.Data.Common
{
	public class SearchDef : ISearchDef
	{
		private List<ICriterion> _criterias;

		public SearchDef( List<ICriterion> criterias )
		{
			this._criterias = criterias;
		}

		#region ISearchDef Members

		public object GetSearchDefination()
		{
			return this._criterias;
		}

		#endregion
	}
}
